package com.ffcs.crmd.tsp.admin.service;

import java.util.List;

import com.ctg.itrdc.platform.common.entity.PageInfo;
import com.ffcs.crmd.tsp.admin.entity.TaskConnectInfo;
import com.ffcs.crmd.tsp.common.exception.TspException;

public interface ITaskConnectInfoService{

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param jobName
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws TspException
     */
    PageInfo<TaskConnectInfo> queryPage(TaskConnectInfo taskConnectInfo, int pageNumber, int pageSize) throws TspException;

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param jobName
     * @return
     * @throws TspException
     */
    List<TaskConnectInfo> query(TaskConnectInfo taskConnectInfo) throws TspException;

}
